#!/bin/sh

python manage.py migrate
python manage.py collectstatic --noinput
python manage.py loaddata fixtures/*.json

gunicorn config.wsgi:application -k gevent -w 4 -b 0.0.0.0:5000 --chdir=/app
# gunicorn config.wsgi:application -k egg:meinheld#gunicorn_worker -w 4 -b 0.0.0.0:5000 --chdir=/app
